﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UniversityStudentManagemnetSystem.DAO.DAL
{
    public class CourseSchedule
    {
        private int courseScheduleId;
        private Department department=new Department();
        private Semester semester=new Semester();
        private Course course=new Course();
        private Building building=new Building();
        private Room room=new Room();
        private string day;
        
       

        public int CourseScheduleId
        {
            get { return courseScheduleId; }
            set { courseScheduleId = value; }
        }

        public Department Department
        {
            get { return department; }
            set { department = value; }
        }

        public Semester Semester
        {
            get { return semester; }
            set { semester = value; }
        }

        public Course Course
        {
            get { return course; }
            set { course = value; }
        }

        public Building Building
        {
            get { return building; }
            set { building = value; }
        }

        public Room Room
        {
            get { return room; }
            set { room = value; }
        }

        public string Day
        {
            get { return day; }
            set { day = value; }
        }

      

        public class TimeInfo
        {
            private string startingTime;
            private string endingTime;

            public string StartingTime
            {
                get { return startingTime; }
                set { startingTime = value; }
            }

            public string EndingTime
            {
                get { return endingTime; }
                set { endingTime = value; }
            }   
        }

        

        public CourseSchedule()
        {
            Times = new TimeInfo();
        }

        private TimeInfo times;
        public TimeInfo Times
        {
            get { return times; }
            set { times = value; }
        }

    }
}